[INFO] cloning repository https://github.com/taylor1791/hearts
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/taylor1791/hearts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaylor1791%2Fhearts", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaylor1791%2Fhearts'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7390d573a366ebe69df75a5fb3a9042ed48b87e4
[INFO] checking taylor1791/hearts against try#21cad1f647cfd05a566220f933edd88a53e50bcf for pr-129249-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaylor1791%2Fhearts" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/taylor1791/hearts
[INFO] finished tweaking git repo https://github.com/taylor1791/hearts
[INFO] tweaked toml for git repo https://github.com/taylor1791/hearts written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/taylor1791/hearts on toolchain 21cad1f647cfd05a566220f933edd88a53e50bcf
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/taylor1791/hearts already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 58ee2c832f16edb423119b1d7c948214b5bcde3a5fdd352ec470c1ada669c09d
[INFO] running `Command { std: "docker" "start" "58ee2c832f16edb423119b1d7c948214b5bcde3a5fdd352ec470c1ada669c09d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "58ee2c832f16edb423119b1d7c948214b5bcde3a5fdd352ec470c1ada669c09d" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "58ee2c832f16edb423119b1d7c948214b5bcde3a5fdd352ec470c1ada669c09d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "58ee2c832f16edb423119b1d7c948214b5bcde3a5fdd352ec470c1ada669c09d" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.74
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking rand v0.6.5
[INFO] [stderr]     Checking hearts v0.1.0 (/opt/rustwide/workdir/hearts)
[INFO] [stdout] warning: field `round` is never read
[INFO] [stdout]  --> hearts/src/game.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Game {
[INFO] [stdout]   |            ---- field in this struct
[INFO] [stdout] 7 |     score: [i8; 4],
[INFO] [stdout] 8 |     round: usize,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `lead` is never read
[INFO] [stdout]    --> hearts/src/round.rs:255:5
[INFO] [stdout]     |
[INFO] [stdout] 254 | struct Trick {
[INFO] [stdout]     |        ----- field in this struct
[INFO] [stdout] 255 |     lead: PlayerId,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Trick` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `usize`
[INFO] [stdout]    --> hearts/src/cards.rs:124:44
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let mut hands = Vec::with_capacity(hand_count.into());
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: you can instead use the fully-qualified path `<usize as Into<usize>::into(val) to avoid triggering this lint
[INFO] [stdout]     = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `round` is never read
[INFO] [stdout]  --> hearts/src/game.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Game {
[INFO] [stdout]   |            ---- field in this struct
[INFO] [stdout] 7 |     score: [i8; 4],
[INFO] [stdout] 8 |     round: usize,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `lead` is never read
[INFO] [stdout]    --> hearts/src/round.rs:255:5
[INFO] [stdout]     |
[INFO] [stdout] 254 | struct Trick {
[INFO] [stdout]     |        ----- field in this struct
[INFO] [stdout] 255 |     lead: PlayerId,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Trick` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `usize`
[INFO] [stdout]    --> hearts/src/cards.rs:124:44
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let mut hands = Vec::with_capacity(hand_count.into());
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: you can instead use the fully-qualified path `<usize as Into<usize>::into(val) to avoid triggering this lint
[INFO] [stdout]     = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hearts` (lib) due to 1 previous error; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `hearts` (lib test) due to 1 previous error; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "58ee2c832f16edb423119b1d7c948214b5bcde3a5fdd352ec470c1ada669c09d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "58ee2c832f16edb423119b1d7c948214b5bcde3a5fdd352ec470c1ada669c09d", kill_on_drop: false }`
[INFO] [stdout] 58ee2c832f16edb423119b1d7c948214b5bcde3a5fdd352ec470c1ada669c09d
